﻿using MRGSP.SurveyMaster.Core.Model;
using NUnit.Framework;

namespace MRGSP.SurveyMaster.Tests
{
    public static class TestingTools
    {
        public static void IsEqualTo(this object o, object to)
        {
            Assert.AreEqual(to, o);
        }
        
        public static void IsTrue(this bool o)
        {
            Assert.IsTrue(o);
        }

        public static Survey Survey(this string s)
        {
            return new Survey {Name = s};
        }
    }
}